<!--
 * @Author: wangming
 * @Date: 2021-12-29 09:27:24
 * @LastEditors: wangming
 * @LastEditTime: 2021-12-29 10:13:00
 * @FilePath: /hanma-application-designer-fed/src/components/dynamicForm/rightModel/components/hlEcharts/__components__/gridLayout.vue
 * @Description: 
-->
<template>
  <div>
    <el-divider content-position="left">绘图网格</el-divider>
    <el-form-item label="左边距(%)" class="tr" size="mini">
      <el-input-number v-model="config.grid.left"></el-input-number>
    </el-form-item>
    <el-form-item label="上边距(%)" class="tr" size="mini">
      <el-input-number v-model="config.grid.top"></el-input-number>
    </el-form-item>
    <el-form-item label="右边距(%)" class="tr" size="mini">
      <el-input-number v-model="config.grid.right"></el-input-number>
    </el-form-item>
    <el-form-item label="下边距(%)" class="tr" size="mini">
      <el-input-number v-model="config.grid.bottom"></el-input-number>
    </el-form-item>
    <el-form-item label="是否含坐标轴" class="tr" size="mini">
      <el-switch v-model="config.grid.containLabel"></el-switch>
    </el-form-item>
  </div>
</template>
<script>
export default {
  props: ["config"],
  data() {
    return {};
  },
  created() {
    console.log(this.config);
  },
  mounted() {},
  methods: {},
};
</script>

<style scoped lang="scss">
</style>
